package com.itheima.demo03functionalinterface;

public class Demo01UserFunctionalInterface {
    public static void main(String[] args) {
        test((a,b)-> System.out.println(a+b));
    }

    public static void test(Operation op){
        op.getSum(1,2);
    }
}

interface Operation{
    void getSum(int a,int b);
}
